home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / prin12.arc / PRIN12.DOC < prev   
Text File  |  1990-05-21  |  5KB  |  94 lines

  1. Prin version 1.2 beta: a document printing program.
  2.  Copyright (C) Drake Koefoed 1990
  3.  
  4. By use of this program, you agree to hold the author free from any 
  5. liability of any kind.
  6.  
  7. Prin is called up by the command prin (filename) where (filename)
  8. is the name of a DOS text file. The name of the file as you entered
  9. it will be printed, and then the file, at 60 lines per page.
  10.  
  11. You may exit Prin at any time by pressing escape. The printer
  12. will continue to print whatever is in it's own buffer, and you
  13. will be returned to the prompt.
  14.  
  15. Prin filters out all formfeeds embedded in the file, so it
  16. totally ignores the pagination of the file. This is handy when
  17. printing out shareware documents that have wierd page lengths,
  18. useless formfeeds, or no pagination at all.
  19.  
  20. Prin sends an escape @ to the printer on startup, which is a
  21. reset to an Epson. Some printers may not understand this code, in
  22. which case they will not reset.
  23.  
  24. The other codes used are just formfeed and linefeed, with
  25. embedded formfeeds being replaced by linefeeds to prevent
  26. possible overprinting.  Prin uses DOS services, and has been
  27. tested under Desqview, with fine results. It should be the same
  28. under other multitaskers.  You may find it works much better than
  29. print does in this situation, and it is NOT memory resident.
  30.  
  31. Prin is written in assembler, so it is very small and fast. It
  32. could be optimized considerably and perhaps it will be, too, but
  33. it's a lot faster than my printers already. I have run {Commo} in
  34. one window of Desqview and prin in another with no noticable
  35. slowing of print speed on an 8mhz XT.
  36.  
  37. Prin depends on you to set the paper to the top of form before
  38. starting. 60 lines will be printed, and then a formfeed. When the
  39. end of file is reached, another formfeed will be sent, and Prin
  40. will exit.  Hopefully, your printer does not have more than 6
  41. blank lines above the first one printed. If it does, we're not
  42. going to make it.  The only thing we could do is roll back a bit
  43. before starting. Unfortunately, that means we would end up at the
  44. same spot on the form when we finished, which would be nice if a
  45. bunch of documents were being printed, but a pain if it is only
  46. one.  I don't know of any printers that are like that, but it's
  47. possible.
  48.  
  49. This version has some procedures in it to make it possible to put in 
  50. command line options. You will be able to specify the page length, 
  51. whether you want the filename printed, and some other things. I am 
  52. considering an option to "print" an escape code file before the real 
  53. file so you could send codes to your printer. I wonder if it's worth it 
  54. because I doubt very many users know how to create a file with escape 
  55. codes. The alternative is a limited list of options for the user to 
  56. enter, which is less flexible because you may want to send a command to 
  57. your printer that I didn't put in, or even one my printers don't know 
  58. about. A configuration file is the third option. The trouble there is 
  59. finding the thing. Most likely prin.com will not be in the current 
  60. directory, so I would need a set command in your autoexec.bat, or to 
  61. have you specify the full path to the config file on the command line, 
  62. assuming you are going to open prin.com with a batch file anyway. Or I 
  63. could allow command line arguments and a config file, too. I need to 
  64. know what people want. GIVE ME SOME FEEDBACK
  65.  
  66. Not for profit use of this program is authorized with no fee, but I ask 
  67. that you make a contribution. I would consider a buck generous. I 
  68. have a theory of shareware that it ought to be cheaper than commercial 
  69. stuff because we get rid of all the middlemen. Unfortunately, the small 
  70. area of distribution and the people who won't pay may make up for that.
  71. One thing people could do is distribute the files all over the place to
  72. help programmers get their work seen. I would like that done with this
  73. program as soon as a few people have tried it and said it worked OK for
  74. them. I don't want it to go all over with a bug in it. 
  75.                       I NEED BETA TESTERS !
  76. If you print things prin is good for, I would like to have you run the 
  77. latest versions of the program. In exchange for your comments, I offer a 
  78. lifetime licence to use prin1.2 and all future versions. A $1.00 value, 
  79. yours free for God only knows how much of your time. It's just the sort 
  80. of ridiculous offer I would bite on, so if you're like me, let me know.                      
  81.  
  82. The best way to leave me a message about the program would be on 
  83. Directory Assistance bbs at (707) 538-8710. If you want to write and you 
  84. want an answer, the least you could do is send a self addressed, stamped 
  85. envelope, dontcha think? Oh yeah, and I should put my address in here 
  86. just in case somebody actually wants to pay.
  87.  
  88. Drake Koefoed                    After Sept '90 I will be at the
  89. 8120 Tarwater road                    University of Oregon
  90. Santa Rosa, CA 95404                      Eugene Oregon
  91.  
  92. Desqview is the property of Quarterdeck. It's a great program.
  93. {Commo} is the property of Fred Brucker.  It's a greater program.
  94.